#include "ConfigParser.h"

const char* config_parser_traits::comment_s = "//";
const char* config_parser_traits::map_entry_sep = "{}";
const char config_parser_traits::end_of_expr_ch = ';';
const char config_parser_traits::eq_ch = '=';
const char config_parser_traits::map_entry_key_sep = ',';

bool ConfigParser::parse(std::string& input, VariablesMapType& variables, 
                         std::map<std::string, std::string>& formats) {

    ConfigParserT<std::string, config_parser_traits> parser;

    return parser.parse(input, variables, formats);
}
